package com.gujia.concurrent.reentrant;

public class GetThread extends Thread{

    private Warehouse house;

    public GetThread(Warehouse house) {
        this.house = house;
    }

    public void run(){
        while (true){
            this.house.get();
        }
    }
}
